﻿using FreeSql.DatabaseModel;using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using Newtonsoft.Json;
using FreeSql.DataAnnotations;

namespace Simple.Repository.SimpleEntitys {

	/// <summary>
	/// 系统版本
	/// </summary>
	[JsonObject(MemberSerialization.OptIn), Table(Name = "sys_version", DisableSyncStructure = true)]
	public partial class SysVersion {

		/// <summary>
		/// 版本Id
		/// </summary>
		[JsonProperty, Column(Name = "id", DbType = "bigint", IsPrimary = true)]
		public long Id { get; set; }

		/// <summary>
		/// 版本名称
		/// </summary>
		[JsonProperty, Column(Name = "name", IsNullable = false)]
		public string Name { get; set; }

		/// <summary>
		/// 初始化角色
		/// </summary>
		[JsonProperty, Column(Name = "init_role", IsNullable = false)]
		public string InitRole { get; set; }

	}

}
